package entity;

import java.sql.Date;

public class Book {

	private String bookid;
	private String bookname;
	private String publish;
	private String editor;
	private Date pubDate;
	private double price;
	private int qty;
	
	public Book(){
		
	}
	
	public Book(String bookid,String bookname,String publish,String editor,Date pubDate,double price,int qty){
		this.bookid=bookid;
		this.bookname=bookname;
		this.publish=publish;
		this.editor=editor;
		this.pubDate=pubDate;
		this.price=price;
		this.qty=qty;
	}
	
	public String getBookid(){
		return bookid;
	}
	
	public void setBookid(String bookid){
		this.bookid=bookid;
	}
	
	public String getBookname(){
		return bookname;
	}
	
	public void setBookname(String bookname){
		this.bookname=bookname;
	}
	
	public String getPublish(){
		return publish;
	}
	
	public void setPublish(String publish){
		this.publish=publish;
	}
	
	public String getEditor(){
		return editor;
	}
	
	public void setEditor(String editor){
		this.editor=editor;
	}
	
	public Date getPubDate(){
		return pubDate;
	}
	
	public void setPubDate(Date pubDate){
		this.pubDate=pubDate;
	}
	
	public double getPrice(){
		return price;
	}
	
	public void setPrice(double price){
		this.price=price;
	}
	
	public int getQty(){
		return qty;
	}
	
	public void setQty(int qty){
		this.qty=qty;
	}
}
